In Linux, the meaning of CPU load and CPU usage indicates that the Nagios alarm information was viewed yesterday. It was found that the CPU load on one of the servers was too heavy and the machine was CentOS. Information: 2011-2-15 (Tuesday) 17: 50
These days I have been studying shell scripts and writing some system load and CPU monitoring script programs. Without nagios monitoring software, as long as the server can access the Internet, you can send an email to remind the administrator of
first section CPU utilization and CPU load
Under Linux/unix, CPU utilization (CPU utilization) is divided into user state, System State and idle state, respectively, the CPU is in user state execution time, system kernel execution time, and idle
Article Title: CPU load in Linux. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems view the Nagios alarm
Understanding cpu system load in Linux
1. View System Load
If your computer is slow, you may want to check whether it is too heavy.
In Linux, we generally use the uptime command to view (w command and top command ). (They also apply to Apple's Mac
In the absence of nagios monitoring software, as long as the server can be on the Internet, you can send mail to remind the Administrator system load and CPU usage.
First, install the following Linux mail client msmtp software (similar to a
yesterday, we looked at Nagios alert information and found that one of the servers was overloaded and the machine was a centos system. The information is as follows:
2011-2-15 (Tuesday) 17:50
Warning-load average:9.73, 10.67, 10.49
When we use the top command to see the system's resource usage, we see load average, as shown in. It represents the average workload of the system at 1, 5, and 15 minutes. So what is load? How does it relate to CPU utilization?Load average: The
Under Linux/unix, CPU utilization (CPU utilization) is divided into user state, System State and idle state, respectively, the CPU is in user state execution time, system kernel execution time, and idle system process execution time. Usually
Without nagios monitoring software, as long as the server can access the Internet, you can send an email to remind the administrator of the system load and CPU usage.
1. Install a mail client msmtp software (similar to a foxmail tool) in linux)
1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.